extends CharacterBody3D

var target_velocity = Vector3.ZERO
var bar_soc = 100

func _physics_process(delta):
	$Label3D.text = "%s" % bar_soc
	velocity = target_velocity
	move_and_slide()

func _set_velocity(m_velocity):
	target_velocity = m_velocity

func _set_soc(soc):
	bar_soc = soc

func _get_soc():
	return bar_soc

func _set_pos(pos):
	position = pos
